﻿module PhotoBlogApp.Api
{
    export class AlbumM
    {
        public Year: number;
        public Name: string;
        public Logo: string;
        public Description: string;
        public Photos: PhotoM[];
    }

    export class AlbumsM
    {
        public AlbumMs: AlbumM[];
    }

    export class PostM
    {
        public PostId: number;
        public Title: string;
        public HTML: string;
        public Author: string;
    }

    export class PostsM
    {
        public Posts: PostM[];
    }

    export class PhotoM
    {
        public PhotoId: string;
        public Url: string;
        public FullUrl: string;
        public Title: string;
    }

    export class GetPhotosParams
    {
        public Skip: number;
        public Take: number;
        public AlbumId: number;
        public NumberDay: number;
    }

    export class PhotosM
    {
        public Skip: number;
        public Scrolled: boolean;
        public Photos: PhotoM[];
    }
} 